#pragma once
#include "VC_Drawable.h"
#include "C_Sprite.h"

class C_Slide :
	public VC_Drawable
{
private:
	sf::Clock	m_clock;
	sf::Time	m_endTime;
	C_Sprite	m_sprite;
	bool		m_end;

	sf::Time m_startEf;
	float m_startEfInc;
public:
	C_Slide(std::string filename, float sec, float startSec);
	virtual ~C_Slide();

	virtual void handleEvent(sf::Event e);
	virtual void render();
	virtual void update();

	inline bool isEnd() { return m_end; }
	void show();
};

